﻿namespace ClassyBlog.Infrastructure.Specs.Unit
{
    using Machine.Specifications;

    [Subject(typeof(MacroAttribute))]
    public class when_macro_attribute_is_created_with_alias
    {
        static MacroAttribute attribute;

        Because of = () => attribute = new MacroAttribute("foo");

        It should_return_the_same_alias = () =>
            attribute.Alias.ShouldEqual("foo");
    }
}